import 'package:flutter/material.dart';

class GetMoreWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: const EdgeInsets.all(16.0),
      alignment: Alignment.center,
      child: SizedBox(
        width: 24.0,
        height: 24.0,
        child: CircularProgressIndicator(
          strokeWidth: 2,
        ),
      ),
    );
  }
}

class NoResultWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Card(
      child: Center(
        child: Container(
          padding: const EdgeInsets.symmetric(vertical: 50),
          child: Text(
            'No Data! 😭',
            style: TextStyle(fontSize: 18.0),
          ),
        ),
      ),
    );
  }
}

class NoMoreWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Card(
      child: Center(
        child: Container(
          padding: const EdgeInsets.symmetric(vertical: 20),
          child: Text(
            '翻到最后啦！😄',
            style: TextStyle(fontSize: 18.0),
          ),
        ),
      ),
    );
  }
}
